﻿using System; 
using System.Text;
using System.Collections.Generic; 
using System.Data;
namespace DingTalkAgent.Model{
	 	//机构与部门管理
		public class Department
	{
   		     
      	/// <summary>
		/// 编号
        /// </summary>		
        public int id
        {
            get;
            set;
        }        
		/// <summary>
		/// 部门名称
        /// </summary>		
        public string name
        {
            get;
            set;
        }        
		/// <summary>
		/// 父部门id，根部门为1
        /// </summary>		
        public int parentid
        {
            get;
            set;
        }        
		/// <summary>
		/// 层级编号 01一层，0101二层，依次
        /// </summary>		
        public string leveCode
        {
            get;
            set;
        }        
		/// <summary>
		/// 是否机构，1是，0不是
        /// </summary>		
        public int isOrg
        {
            get;
            set;
        }        
		/// <summary>
		/// 在父部门中的次序值
        /// </summary>		
        public int order
        {
            get;
            set;
        }        
		/// <summary>
		/// 备注
        /// </summary>		
        public string Remark
        {
            get;
            set;
        }        
		   
	}
}